/**
 * 
 */
package guij.dao.mapper;

import guij.dao.vo.Subscriber;

import java.util.List;

public interface SubscriberMapper {
	public List<String> select(String nick);
	public List<Subscriber> selectSubscribers();
	public int countSubscribers(String nick);
	//无结果集就插入，有结果集就更新
	public void add(Subscriber ubscriber);
	public int auth(String mail, String clientKey);
	public Subscriber getSub(int mailID);
	public List<Subscriber> getSubs(String nick);
}
